package com.atguigu.gmall.list.service;

import com.atguigu.gmall.model.list.SearchParam;
import com.atguigu.gmall.model.list.SearchResponseVo;

/**
 * @author wk
 * @create 2021-09-03 18:26
 */
public interface ListService {
    // 上架
    void onSale(Long skuId);

    // 下架
    void onCancel(Long skuId);

    // 增加热度评分
    void incrHostScore(Long skuId, Integer score);

    // 搜索
    SearchResponseVo search(SearchParam searchParam);
}
